package com.eastfair.venueservice.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.venueservice.dto.VenueDrawingAuditDTO;
import com.eastfair.venueservice.entity.VenueDrawingAudit;
import com.eastfair.venueservice.vo.VenueDrawingAuditVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 一键报馆图纸审核
 * </p>
 *
 * @author dq
 * @date 2022 -10-31
 */
@Deprecated
public interface VenueDrawingAuditService extends SuperService<VenueDrawingAudit> {

    /**
     * 查询图纸审核列表VO.
     *
     * @param query the query
     * @return the list
     */
    List<VenueDrawingAuditVO> listVenueDrawingAuditVO(VenueDrawingAuditDTO query);

    /**
     * 查询图纸审核列表.
     *
     * @param query the query
     * @return the list
     */
    List<VenueDrawingAudit> listVenueDrawingAudit(VenueDrawingAuditDTO query);

    /**
     * 保存图纸审核.
     *
     * @param param the param
     * @return the venue drawing audit
     */
    VenueDrawingAudit saveVenueDrawingAudit(VenueDrawingAuditDTO param);

    /**
     * 批量保存图纸审核.
     *
     * @param list the list
     * @return the boolean
     */
    boolean saveBatch(List<VenueDrawingAuditDTO> list);

    /**
     * 批量提交图纸审核.
     *
     * @param list the list
     * @return the boolean
     */
    boolean submitBatch(List<VenueDrawingAuditDTO> list);

    /**
     * 报馆ID移除展厅中图纸分类ID指定的图纸审核记录.
     *
     * @param venueReportId the venue report id
     * @param spaceCode     the space code
     * @param drawingId     the drawing id
     * @return the boolean
     */
    boolean removeByVenueReportId(Long venueReportId, String spaceCode, Long drawingId);
}
